package com.eureka.server.eurekaserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@SpringBootApplication
@EnableEurekaServer
public class EurekaServerApplication {

  public static void main(String[] args) {
    SpringApplication.run(EurekaServerApplication.class, args);
    // new SpringApplicationBuilder(EurekaServerApplication.class).web(WebApplicationType.NONE).run(args);
    // new SpringApplicationBuilder(EurekaServerApplication.class).web(true).run(args);
  }
}
